package com.jandar.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;

/**
 * @author : cyt
 * @date : 2019/3/12
 */
@Component
@Getter
public class AppConfig {


    @Value("${app.graph.url:}")
    private String graphUrl;
    @Value("${app.analyzeAndStatistics.dir:}")
    private String analyzeAndStatisticsDir;


    public AppConfig() {
    }
    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
}

